package com.hello123.controller.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @since 2020/01/05 12:27:35
 */
@RestController
public class HelloController {

	@GetMapping("/hello/sayHello")
	public String hello() {
		return "Hello World";
	}

	@GetMapping("/demo/welcome")
	public String ping() {
		return "Welcome";
	}

}
